package qy.jalgotrade.broker;

/**
 * @author c-geo
 *
 */
public class IntegerTraits extends InstrumentTraits {

	/**
	 * 
	 */
	public IntegerTraits() {

	}

	/* (non-Javadoc)
	 * @see qy.jalgotrade.broker.InstrumentTraits#roundQuantity(double)
	 */
	@Override
	public long roundQuantity(double quantity) {

		return Double.valueOf(quantity).longValue();
	}
}
